/**********************************************************
 * ANT_Utils.c - contains the code for the header file
 * ANT_Utils.h
 *
 * By: Team 4
 * *******************************************************/

#include "msp430bt5190.h"
#include<stdio.h>

/**********************************************************
 * Helper Functions - functions called for convenience by
 * the later functions in the code
 *******************************************************/

char checksum(char * message, int num);
void delay(unsigned int time);
int UART_ANT_init();
int setup_ANT_hardware();

/**********************************************************
 * Transmission Functions - These functions control the
 * transmission between the MSP430 and PAN 1315
 *******************************************************/

int transmit_ANT(char * data, int num);
int read_ANT(char * data,int length);
